mobileSetRemoteControlDisplay
Type
command
Summary
Configures the information displayed on the remote control device, or on the (locked) home screen controls.
Syntax
mobileSetRemoteControlDisplay <displayData>
Description
Use the mobileSetRemoteControlDisplay command to configure the information displayed on the (locked) home screen controls, or the remote control device (iOS) or the notification (android).
On iOS, the remote control feature allows access to the audio controls both on an external device and also on the device itself when in lockscreen.
On android, the remote control feature allows access to audio controls on
a notification, lockscreen and hardware buttons. This requires the Foreground Service
permission to be enabled in the standalone settings.
There is no guarantee that any of this information will be used, it is up to the remote control device / iOS / android to decide.
The value of the state
key controls whether the seekbar updates or
which buttons are displayed.
Parameters
Name | Type | Description |
---|---|---|
displayData | array | An array with one or more of the following keys:
|
Examples
mobileSetRemoteControlDisplay pDisplayDataArray
Related
command: mobileEnableRemoteControl, mobileDisableRemoteControl
function: mobileRemoteControlEnabled
message: remoteControlReceived
Compatibility and Support
Introduced
LiveCode 10.0
OS
android
ios
Platforms
mobile